package com.zq.zqplayer.test

import android.content.Context
import android.util.Log
import androidx.work.Worker
import androidx.work.WorkerParameters

class TestWorker(appContext: Context, val workerParams: WorkerParameters): Worker(appContext, workerParams) {
    override fun doWork(): Result {

        // Do the work here--in this case, upload the images.
        Log.i("ziq", "TestWorker do work ${workerParams.inputData.keyValueMap} ${inputData.keyValueMap} ${Thread.currentThread().name}")

        // Indicate whether the work finished successfully with the Result
        return Result.success()
    }
}
